
<h4>Editar Usuario <%= current_user.name %></h4>
<%= simple_form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put, :class => 'form-vertical' }) do |f| %>
  <%= f.error_notification %>
  <%= display_base_errors resource %>
  <%= f.input :name, :autofocus => true %>
  <%= f.input :email, :required => true %>
  <%= f.input :password, :autocomplete => "off", :hint => "Dejar en blanco si no desea cambiar la contraseña", :required => false %>
  <%= f.input :password_confirmation, :required => false %>
  <%= f.input :current_password, :hint => "Contraseña actual para confirmar los cambios", :required => true %>
  <%= f.button :submit, 'Actualizar', :class => 'btn-primary' %>
<% end %>


